package com.hl.card.modular.pack.service;

import com.hl.card.common.util.ResponseObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * java类简单作用描述
 *
 * @ProjectName: distdev
 * @Package: com.hl.card.modular.pack.controller
 * @ClassName: ${TYPE_NAME}
 * @Description: java类作用描述
 * @Author: 作者姓名
 * @CreateDate: 2018/7/9 17:45
 * @UpdateUser: Neil.Zhou
 * @UpdateDate: 2018/7/9 17:45
 * @UpdateRemark: The modified content
 * @Version: 1.0
 * <p>Copyright: Copyright (c) 2018</p>
 */
@FeignClient("card-package-award")
public interface TryTestRewardByTrans {
    @PostMapping(value = "/api/tryTest/reward")
    public ResponseObject userReward(@RequestParam("userId") String userId);

    @PostMapping(value = "/api/tryTest/checkReward")
    public ResponseObject checkUserReward(@RequestParam("userId") String userId);
}
